package com.sakura.mall.order.orderOperateHistory.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.orderOperateHistory.domain.entity.OrderOperateHistoryEntity;
import com.sakura.mall.order.orderOperateHistory.domain.request.AddOrderOperateHistoryRequest;
import com.sakura.mall.order.orderOperateHistory.domain.request.UpdateOrderOperateHistoryRequest;
import com.sakura.mall.order.orderOperateHistory.domain.request.OrderOperateHistoryPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.orderOperateHistory.domain.vo.OrderOperateHistoryVo;

/**
 * 订单操作历史记录 service
 *
 * @author sakura
 */
public interface OrderOperateHistoryService extends IService<OrderOperateHistoryEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<OrderOperateHistoryVo> queryPage(OrderOperateHistoryPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddOrderOperateHistoryRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateOrderOperateHistoryRequest request);
}
